package org.example;

import java.util.List;

public class ClassRoom {
    public  int classId;
    public  String className;
    public List<Student> students;
    public  ClassRoom(int classId, String className){
        this.classId = classId;
        this.className = className;
    }
    public  void  setStudents(List<Student> students) {this.students = students;}
    @Override
    public String toString(){
        return  "ClassRoom{" +
                "classId=" + classId +
                ",className='" + className + '\'' +
                ",students=" +students +
                '}';
    }
}
